package aad.storyboard.model;


/**
 *State pattern: depending on whether a story component has already been started, start() will be triggrered or not 
 */
public class StoryComponentPlayingState implements StoryComponentState{	
	
	Story story;	
	Scene scene;

	
	@Override
	public void start(int currentTime, StoryComponent comp) {
		//nothing
		
	}
	
	public StoryComponentPlayingState(){
        //System.out.println("=== StoryComponent Playing State ===");
        story=Story.getInstance();
        
    }

	@Override
	public void restart(StoryComponent comp) {
		System.out.println("StoryComponent is started and is now set to stopped");
		comp.setNewState((comp.getStoppedState()));
	}


}
